package com.cy.pj.dao;

import com.cy.pj.pojo.Item;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ItemDao {
    List<Item> selectItem(Item item);
    int insertItem(Item item);
    int deleteById(Integer...id);
    @Select("select * from tb_item_cat where id=#{id}")
    Item findById(Integer id);
    int updatedItem(Item item);

}
